﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="_210624.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">       
        <div>
            <h2>登录页面</h2>
            <br />
            
            账户：<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <br />
            <br />
            密码：<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            <br />
            <br />
           <%-- 登录按钮，执行连接数据库等操作--%>
            <asp:Button ID="Button1" runat="server" Text="登录" OnClick="Button1_Click" />&nbsp
            <%--跳转注册页面--%>
              <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/WebForm2.aspx">点击注册</asp:HyperLink>
            
            <asp:Literal ID="Literal1" runat="server"></asp:Literal>
        </div>
        
          
        
    </form>
</body>
</html>
